package com.changgou.consume.service;

import com.changgou.seckill.pojo.SeckillOrder;

/**
 * @author kfzhao
 * @version 1.0
 * @interfaceName SeckillOrderService
 * @description
 * @date 2022/1/7 0:28
 **/
public interface SeckillOrderService {

    /**
     * 消费者在mysql中创建秒杀订单
     *
     * @param order
     * @return int
     * @throws
     * @description
     * @author kfzhao
     * @date 2022/1/7 0:28
     */
    int createOrder(SeckillOrder order);
}
